//
//  OrderDetailFooter.h
//  RRQS
//
//  Created by kyjun on 16/3/28.
//
//

#import <UIKit/UIKit.h>
#import "MStore.h"

typedef enum : NSUInteger {
    /**
     *  联系商家
     */
    connectionBusiness,
    /**
     *  联系客户
     */
    connectionClient,
    /**
     *  确认取货
     */
    confirmTake
} EnumOrderAction;

@protocol OrderDetailFooterDelegate <NSObject>

@optional
-(void)orderDetailEnum:(EnumOrderAction)orderAction phone:(NSString*)phone;
-(void)orderDetailTake:(MStore*)item;
-(void)locationMapLocation:(MStore*)item;

@end

@interface OrderDetailFooter : UITableViewHeaderFooterView


@property(nonatomic,strong) MStore* entity; 

@property(nonatomic,assign) BOOL isWaitTask;

@property(nonatomic,strong) NSString* address;
@property(nonatomic,strong) NSString* addressRoad;

@property(nonatomic,weak) id<OrderDetailFooterDelegate> delegate;

@end
